<div id="table" ng-hide="visible">
	<div style="height: 80%;overflow: auto;width: 100%;" nicescroll axis='xy' ina="1000" pls="300">
		<table class="table table-hover">
			<thead>
			<tr id="first">
				<th ng-repeat="field in pageCfg.fields | orderBy:'sort'">
				{{(field.display_name==''||field.display_name==undefined)?field.name:field.display_name}}
				</th>
				<th></th>
			</tr>
			</thead>
			<tbody>
			<tr ng-repeat="oneBox in data">
				<td ng-repeat="field in pageCfg.fields | orderBy:'sort'"id="td"
					title="{{oneBox[field.name] | em |trustHtml}}">
					<span
					ng-bind-html="oneBox[field.name]|trustHtml"
					ng-hide="''!=field.redirect"></span> <a
					ng-href="{{'null'!=field.redirect?oneBox[field.redirect]:''}}"
					ng-bind-html="oneBox[field.name]|trustHtml"
					ng-show="''!=field.redirect" target="_blank"></a></td>
				<td><button type="button"
				class="btn btn-link"
						ng-click="getOneData(oneBox)" 
						data-toggle="modal" 
						data-target="#myModal"
						id="button2">
						<i class="fa fa-fw fa-bar-chart-o"></i>
					</button></td>
			</tr>
			</tbody>
		</table>

	</div>
<!-- 	<div class="row" id="dataLength">
		<div class="col-sm-6">
			<div class="dataTables_length" id="example1_length">
				<label>显示条数： 
				<select ng-model="selectedCol" ng-options="x for x in numcol" ng-click="query()" >
				</select>
				</label>
			</div>
		</div>
	</div> --
				
	<!-- /content -->
	<!-- pagination bar -->
	<div ng-show="toalNum!=0" style="height: 20%;overflow: hidden;">
		
			<div class="col-lg-6 col-sm-6" style="float: left;top: 30%;">
			<div class="dataTables_length">
				<label>显示条数： 
				<select ng-change="change()" ng-model="selectedCol" ng-options="x for x in numcol" >
				</select>
				</label>
			</div>
		</div>
		<div class="col-lg-6 col-sm-6" ng-controller="paginationCtrl" style="float: right;top: 30%;">
			<ul class='pagination'>
				<li ng-show="1==current" class="disabled"><a href="">首页</a></li>
				<li ng-show="1!=current"><a href="" class="page-first"
					ng-click="page(1)">首页</a></li>
				<li ng-show="_currentPage!=1"><a href=""
					ng-click="resetPage('pre')">...</a></li>
				<li ng-if="i==1" id='{{i}}' ng-repeat="i in maxPageArr"
					ng-class="{active:current==i}"><a href="#" ng-click="page(i)" 
					style="background-color:{{pageCfg.template.buttonColor}};border-color:{{pageCfg.template.buttonColor}}">{{i}}</a>
				</li>
				<li ng-if="i!=1" id='{{i}}' ng-repeat="i in maxPageArr"
					ng-class="{active:current==i}"><a href="#" ng-click="page(i)">{{i}}</a>
				</li>
				<li ng-show="totalPage!=_startPage-1"><a href=""
					ng-click="resetPage('next')">...</a></li>
				<li ng-show="totalPage!=current"><a href="" class="page-end"
					ng-click="page(totalPage)">末页</a></li>
				<li ng-show="totalPage==current" class="disabled"><a href="">末页</a></li>
			</ul>
		</div>
	
	</div>
	<!-- /pagination bar -->
</div>
